package functii.elementare;

import functii.Functie;

public class Constanta extends Functie{
    protected double ct;

    public Constanta(double ct){
        this.ct=ct;
    }

    public double calcul(){
        return ct;
    }

    public double calculDerivata(){
        return 0.0;
    }

    public String derivare(){
        return "0.0";
    }

    public String toString(){
        return ""+ct;
    }
}
